package DBLayer;

import java.sql.SQLException;

import ModelLayer.Invoice;

/**
 * @author Gruppe 2
 *
 */
public interface IFDBInvoice {

	/**
	 * @param i
	 * @throws SQLException
	 */
	public void insertInvoice(Invoice i) throws SQLException;
	/**
	 * @param id
	 * @return Invoice
	 * @throws SQLException
	 */
	public Invoice selectSingleInvoice(int id) throws SQLException;
	/**
	 * @param i
	 * @throws SQLException
	 */
	public void updateInvoice(Invoice i) throws SQLException;
	
	
}
